package com.macro.mall.dao;

import com.macro.mall.dto.OpenDoorRecord;
import com.macro.mall.dto.OpenDoorRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OpenDoorRecordDao {
    long countByExample(OpenDoorRecordExample example);

    int deleteByExample(OpenDoorRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OpenDoorRecord record);

    int insertSelective(OpenDoorRecord record);

    List<OpenDoorRecord> selectByExample(OpenDoorRecordExample example);

    OpenDoorRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OpenDoorRecord record, @Param("example") OpenDoorRecordExample example);

    int updateByExample(@Param("record") OpenDoorRecord record, @Param("example") OpenDoorRecordExample example);

    int updateByPrimaryKeySelective(OpenDoorRecord record);

    int updateByPrimaryKey(OpenDoorRecord record);
}